package com.baizhi.service;

import com.baizhi.entity.CmfzArticle;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface CmfzArticleService {
    Map selectCmfzArticleDatagrid(int page,int rows);

    List<CmfzArticle> selectFirstTwoArticle(int userId);

    List<CmfzArticle> getGuruArticle(int userId);

    List<CmfzArticle> getNoGuruArticle(int userId);

    CmfzArticle getOneArticle(int articleId);

    void addArticle(CmfzArticle cmfzArticle);

    void deleteSomeArticles(int[] ids);

    void updateArticle(CmfzArticle cmfzArticle);
}
